package com.zshy.base.monitor.domain.contract.enums;

import com.zshy.base.core.contract.enums.IEnum;
import com.zshy.base.kit.enums.EnumValueResolver;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 模版卡片的模版类型:
 * - 文本通知模版卡片的类型为text_notice
 * - 图文展示模版卡片的类型为news_notice
 *
 * @author zhouhengzhe
 */
@Getter
@AllArgsConstructor
public enum CardTypeEnum implements IEnum<String>, EnumValueResolver<CardTypeEnum, String> {

    TEXT_NOTICE("text_notice", "文本通知模版卡片"),
    NEWS_NOTICE("news_notice", "图文展示模版卡片的类型");

    private final String code;
    private final String desc;
}
